<?php

class Layout_Main extends CI_Controller
{

    public function __construct()
    {
        parent::__construct();
    }

    public function index()
    {

    	$data['css'] = load_css(array('main.css','style.css'));
        $data['title_for_layout'] = 'Administra&ccedil;&atilde;o';
        $this->load->model('admin/noticia_model');
        $data['noticias'] = $this->noticia_model->listar();
        $data['pagina']   = 'admin/inicio';
        $this->load->view('admin/layout_main', $data);
    }
}